import mongoose from "../db/mongoose";

interface DataSetSchema {
  uuid: string;
  sheet: string;
  data: any[];
}

const schema = new mongoose.Schema(
  {
    uuid: String,
    sheet: String,
    data: Array,
  },
  { timestamps: true },
);

const DataSetModel = mongoose.model<DataSetSchema>("data_set", schema);

export default DataSetModel;
